package main

import (
	"io"
	"net/http"
)

// 返回错误信息
func sendErrorResponse(w http.ResponseWriter, sc int, errMag string) {
	w.WriteHeader(sc)
	io.WriteString(w, errMag)
}
